package net.homeip.jcperera.nu.beans;

import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;

import net.homeip.jcperera.nu.core.utils.RandomUtil;

@ManagedBean
public class RandomUtilManagedBean
{
    @EJB
    RandomUtil randomUtil ;

    public String getGenerateRandomID()
    {
        return randomUtil.generateRandomID();
    }
    
    public String getLastGeneratedID()
    {
        return randomUtil.retrieveLastGeneratedID();
    }
}
